dsh-voice:DSH 的 TTS 与 STT 插件

dsh-voice 是一款基于 DSH 框架的语音处理插件,旨在为智能体提供简化的 TTS(文字转语音)和 STT(语音转文字)工具能力。该插件采用 MIT 许可证,要求 Node.js 版本在 22 及以上,运行时无需依赖内部模块,通过原生 WebSocket 实现通信。 其核心功能包含三个工具:`voice_tts` 支持将文本免费合成为 MP3 文件,支持自定义音色、语速等参数,零配置即可使用;`voice_stt` 用于音频转文字,支持 OpenAI 兼容接口,需配置 ASR 密钥(建议通过环境变量管理);`voice_list` 则用于查询可用音色列表。 插件通过 `dsh plug

Read More
Add Voice Input and Speech Synthesis Functions to DeepSeek Harness with dsh-voice

DSH-voice is a plugin for the DeepSeek Harness tool maintained by Jesse-njx. It uses `transcribe` to turn dictation or audio files into user messages, uses `speak` to read content in the background without blocking the conversation turn, and uses `/voice` to toggle automatic reading of replies per session. Audio files are saved to `~/.dsh/voice/` by default, and only references and transcriptions are saved in session logs. It is licensed under MIT, with version 0.1.0. For installation, please refer to the directory command: `dsh plugin add github:Jesse-njx/dsh-voice`. By default, it uses an offline backend, and OpenAI and Edge TTS will not be automatically selected; v0.1 does not support real-time intercom or wake words.

Read More
Easily and Quickly Set Up a Local Speech Synthesis Service

This article introduces a method to quickly set up a local speech synthesis service using the VITS model architecture. First, you need to install the PyTorch environment and related dependency libraries. To start the service, simply run the `server.py` program. Additionally, the source code for an Android application is provided, which requires modifying the server address to connect to your local service. At the end of the article, a QR code is provided to join a knowledge planet and obtain the complete source code. The entire process is simple and efficient, and the service can run without an internet connection.

Read More
Easily Implement Speech Synthesis with PaddlePaddle

This paper introduces the implementation method of speech synthesis using PaddlePaddle, including simple code examples, GUI interface operations, and Flask web interfaces. First, a simple program is used to achieve the basic text-to-speech function, utilizing acoustic model and vocoder model to complete the synthesis process and save the result as an audio file. Secondly, the `gui.py` interface program is introduced to simplify the user operation experience. Finally, the Flask web service provided by `server.py` is demonstrated, which can be called by Android applications or mini-programs to achieve remote speech...

Read More